package com.xb.cloud.shopping.model;

import java.math.BigDecimal;
import java.util.List;

import com.xb.cloud.shopping.client.vo.ShopSkuCartItemVo;
import com.xb.cloud.shopping.client.vo.UserAddressVo;

/**
 * 
 * @ClassName: OrderAccount
 * @Description:用于订单确认页面
 * @author: 鲜备科技
 * @date: 2018年1月24日 下午5:18:37
 * 
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved.
 *
 */
public class OrderAccount {

	// 商品总数
	private int count;

	// 商品总金额
	private BigDecimal skuAmount;
	// 运费
	private BigDecimal deliveryFee;
	// 订单总金额
	// TODO:现在orderAmount=skuAmount，后期需要进行业务修改
	private BigDecimal orderAmount;

	private boolean hasDefaultAddress;
	private UserAddressVo defaultAddress;

	private List<ShopSkuCartItemVo> shopSkuItemList;

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public BigDecimal getSkuAmount() {
		return skuAmount;
	}

	public void setSkuAmount(BigDecimal skuAmount) {
		this.skuAmount = skuAmount;
	}

	public BigDecimal getDeliveryFee() {
		return deliveryFee;
	}

	public void setDeliveryFee(BigDecimal deliveryFee) {
		this.deliveryFee = deliveryFee;
	}

	public BigDecimal getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}

	public boolean isHasDefaultAddress() {
		return hasDefaultAddress;
	}

	public void setHasDefaultAddress(boolean hasDefaultAddress) {
		this.hasDefaultAddress = hasDefaultAddress;
	}

	public UserAddressVo getDefaultAddress() {
		return defaultAddress;
	}

	public void setDefaultAddress(UserAddressVo defaultAddress) {
		this.defaultAddress = defaultAddress;
	}

	public List<ShopSkuCartItemVo> getShopSkuItemList() {
		return shopSkuItemList;
	}

	public void setShopSkuItemList(List<ShopSkuCartItemVo> shopSkuItemList) {
		this.shopSkuItemList = shopSkuItemList;
	}

}
